import * as types from './mutation-types'

export default {
  incTotalTime ({ commit }, time) {
    commit(types.INC_TOTAL_TIME, time)
  },
  decTotalTime ({ commit }, time) {
    commit(types.DEC_TOTAL_TIME, time)
  },
  addTask ({ commit }, task) {
    commit(types.ADD_TASK, task)
  },
  delTask ({ commit }, task) {
    commit(types.DEL_TASK, task)
  }
}
